﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:Commanding">
    <DataTemplate DataType="{x:Type local:ShellPresentationModel}">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition Height="50"/>
                <RowDefinition Height="30"/>
                <RowDefinition Height="*"/>
            </Grid.RowDefinitions>
            <ItemsControl ItemsSource="{Binding GlobalCommandsRegion.Views}" Grid.Row="1" Margin="10,0,10,0" />
            <Border Grid.Row="2" CornerRadius="4,4,4,4" BorderBrush="#193441" Background="#FCFFF5" BorderThickness="2,2,2,2" Margin="10,0,10,10" Padding="5">
                <ItemsControl ItemsSource="{Binding MainRegion.Views}" />
            </Border>
            <Label HorizontalAlignment="Left" Margin="155,5,0,0" Width="Auto" Content="QuickStart (with MVVM)" FontWeight="Normal" Foreground="#FF373737" FontSize="24" FontFamily="Corbel"/>
            <Label HorizontalAlignment="Left" Margin="10,5,0,0" Width="Auto" Content="Commanding" FontWeight="Bold" Foreground="#FF373737" FontSize="24" FontFamily="Corbel"/>
            <Separator Margin="0,0,0,0" VerticalAlignment="Bottom" Height="10" BorderBrush="#193441"/>
        </Grid>
    </DataTemplate>
</ResourceDictionary>